import { registerRouterModule } from '@apps/meta/common/router'
import { Module } from '@nestjs/common'
import { MetaBoardDataModule } from './meta-board-data/meta-board-data.module'
import { MetaCommonModule } from './meta-common/meta-common.module'
import { MetaFileModule } from './meta-file/meta-file.module'
import { MetaHistoryChartModule } from './meta-history-chart/meta-history-chart.module'
import { MetaPlatformModule } from './meta-platform/meta-platform.module'
import { MetaResourceChartExampleModule } from './meta-resource-chart-example/meta-resource-chart-example.module'
import { MetaResourceChartModule } from './meta-resource-chart/meta-resource-chart.module'
import { MetaResourceModelModule } from './meta-resource-model/meta-resource-model.module'
import { MetaResourceModuleActionModule } from './meta-resource-module-action/meta-resource-module-action.module'
import { MetaResourceModuleModule } from './meta-resource-module/meta-resource-module.module'
import { MetaTemplateModule } from './meta-template/meta-template.module'

@Module({
  imports: [
    ...registerRouterModule(
      [
        MetaResourceModuleModule,
        MetaResourceModuleActionModule,
        MetaResourceChartModule,
        MetaBoardDataModule,
        MetaResourceModelModule,
        MetaCommonModule,
        MetaTemplateModule,
        MetaFileModule,
        MetaPlatformModule,
        MetaResourceChartExampleModule,
        MetaHistoryChartModule,
      ],
      'system'
    ),
  ],
})
export class SystemModule {}
